package com.tansty.service.impl;

import com.tansty.mapper.BookMapper;
import com.tansty.pojo.Book;
import com.tansty.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * description:  <br>
 * date: 2021/6/26 22:04 <br>
 * author: ztz <br>
 * version: 1.0 <br>
 */
@Service
public class BookServiceImpl implements BookService {
    @Autowired
    private BookMapper bookMapper;

    @Override
    public List<Book> getBooks() {
        return bookMapper.getBooks();
    }
}
